from anole  import NotImpError


class ContentProcessor:
    _CONTENT_TYPES=[]
    def content_types(self):
		return self._CONTENT_TYPES		
    def process_content(self,replyHead,contentFile,request):
        raise NotImpError(self,'process')
class HeadProcessor:
    _CODES=[]
    def codes(self):
		return self._CODES
    def process_head(self,replyHead,request):
        raise NotImpError(self,'process')
    
class CmdProcessor:
	def process_anole_cmd(self,cmd):
		#raise NotImpError(self,'process_anole_cmd')
		pass
class ErrorProcessor:
	def process_anole_error(self,e,req):
		pass


ContentP=ContentProcessor
HeadP=HeadProcessor
CmdP=CmdProcessor
ErrorP=ErrorProcessor
